<?php 
// Baglaniyor...
function baglan () {$host = "localhost";$user = "root";$password = "";$name = "stock";
$baglan=mysql_connect ($host,$user,$password);
mysql_select_db($name,$baglan);
}
// Baglandi
baglan();
putenv("TZ=Europe/Istanbul");
?>